package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 扩展组织
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class JbdpPartyExpand extends Model<JbdpPartyExpand> {

    private static final long serialVersionUID=1L;

    /**
     * 扩展组织ID
     */
    @TableId("EXPAND_ID")
    private String expandId;

    /**
     * 扩展组织名称
     */
    @TableField("EXPAND_NAME")
    private String expandName;

    /**
     * 扩展组织简称
     */
    @TableField("SHORT_NAME")
    private String shortName;

    /**
     * 对应基准组织
     */
    @TableField("BASE_PARTY")
    private String baseParty;

    /**
     * 扩展组织状态
     */
    @TableField("STATE")
    private Integer state;

    /**
     * 排序
     */
    @TableField("ORDER_NO")
    private Integer orderNo;

    /**
     * 删除标志
     */
    @TableField("DEL_FLAG")
    private Integer delFlag;

    /**
     * 备用字段1
     */
    @TableField("DEF1")
    private String def1;

    /**
     * 备用字段2
     */
    @TableField("DEF2")
    private String def2;

    /**
     * 备用字段3
     */
    @TableField("DEF3")
    private String def3;

    /**
     * 备用字段4
     */
    @TableField("DEF4")
    private String def4;

    /**
     * 备用字段5
     */
    @TableField("DEF5")
    private String def5;


    public String getExpandId() {
        return expandId;
    }

    public JbdpPartyExpand setExpandId(String expandId) {
        this.expandId = expandId;
        return this;
    }

    public String getExpandName() {
        return expandName;
    }

    public JbdpPartyExpand setExpandName(String expandName) {
        this.expandName = expandName;
        return this;
    }

    public String getShortName() {
        return shortName;
    }

    public JbdpPartyExpand setShortName(String shortName) {
        this.shortName = shortName;
        return this;
    }

    public String getBaseParty() {
        return baseParty;
    }

    public JbdpPartyExpand setBaseParty(String baseParty) {
        this.baseParty = baseParty;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public JbdpPartyExpand setState(Integer state) {
        this.state = state;
        return this;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public JbdpPartyExpand setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public JbdpPartyExpand setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public String getDef1() {
        return def1;
    }

    public JbdpPartyExpand setDef1(String def1) {
        this.def1 = def1;
        return this;
    }

    public String getDef2() {
        return def2;
    }

    public JbdpPartyExpand setDef2(String def2) {
        this.def2 = def2;
        return this;
    }

    public String getDef3() {
        return def3;
    }

    public JbdpPartyExpand setDef3(String def3) {
        this.def3 = def3;
        return this;
    }

    public String getDef4() {
        return def4;
    }

    public JbdpPartyExpand setDef4(String def4) {
        this.def4 = def4;
        return this;
    }

    public String getDef5() {
        return def5;
    }

    public JbdpPartyExpand setDef5(String def5) {
        this.def5 = def5;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.expandId;
    }

    @Override
    public String toString() {
        return "JbdpPartyExpand{" +
        "expandId=" + expandId +
        ", expandName=" + expandName +
        ", shortName=" + shortName +
        ", baseParty=" + baseParty +
        ", state=" + state +
        ", orderNo=" + orderNo +
        ", delFlag=" + delFlag +
        ", def1=" + def1 +
        ", def2=" + def2 +
        ", def3=" + def3 +
        ", def4=" + def4 +
        ", def5=" + def5 +
        "}";
    }
}
